All Editor has a powerful undo/redo engine .It has a theoretically unlimited steps.
The only restriction depends on your free diskspace.You can switching this engine on/off by clicking the "Edit-->Enable/Disable Undo&Redo".